package cn.tutu.blockchain.fileInfo.entity;

import cn.tutu.blockchain.base.BaseObject;

public class FileInfo extends BaseObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2277938959535165609L;
	private String minemachineId; // 该文件属于哪台矿机
	private String fileHash; // 文件hash
	private String type; // 0：备份文件hash 1：根目录hash
	private Integer count; // 该文件备份次数

	public FileInfo() {
	}

	public FileInfo(String minemachineId, String fileHash, String type) {
		super();
		this.minemachineId = minemachineId;
		this.fileHash = fileHash;
		this.type = type;
		this.count = 0;
	}

	public String getMinemachineId() {
		return minemachineId;
	}

	public void setMinemachineId(String minemachineId) {
		this.minemachineId = minemachineId;
	}

	public String getFileHash() {
		return fileHash;
	}

	public void setFileHash(String fileHash) {
		this.fileHash = fileHash;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

}
